package com.kele.search.service;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * ApplicationRunner实现springboot应用启动后做一些初始化操作
 */
@Component
public class RedisApplicationRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {

        System.out.println("-----ApplicationRunner实现springboot应用启动后做一些初始化操作");
    }
}
